<?php
//рус
class MozgRoute
{
    /**
		список объектов запроса
     */
    static private $_routers = array();

    static public function Get($protName)
    {
        $className = 'router_' . $protName;
        
        if (!isset(self::$_routers[$protName])) 
        {
            include_once(_APP_PATH . 'router/router_' . $protName . '.php');
            self::$_routers[$protName] = new $className();
        }
        
        return self::$_routers[$protName];
    }
}